Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add auth0connection param #981

Merged
merged 1 commit into from
Sep 27, 2024
Merged

Conversation

dphilipson
Copy link
Contributor

@dphilipson dphilipson commented Sep 24, 2024

Allow users to set the connection query param when using Auth0, which allows them to link directly to one particular auth method in Auth0 rather than a selection screen.


PR-Codex overview

This PR introduces support for auth0 as an authentication provider, enhancing the AlchemySignerWebClient and related types to accommodate the new provider configuration and claims handling.

Detailed summary

  • Added auth0Connection to the params in AlchemySignerWebClient.
  • Updated type definitions for OAuth providers to include auth0.
  • Renamed RedirectConfig to OauthRedirectConfig.
  • Modified DEFAULT_SCOPE_AND_CLAIMS to include settings for auth0.
  • Changed parameter type in getDefaultScopeAndClaims to KnownAuthProvider.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

vercel bot commented Sep 24, 2024

You must have Developer access to commit code to Alchemy on Vercel. If you contact an administrator and receive Developer access, commit again to see your changes.

Learn more: https://vercel.com/docs/accounts/team-members-and-roles/access-roles#team-level-roles

rthomare
rthomare previously approved these changes Sep 25, 2024
Copy link

vercel bot commented Sep 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
aa-sdk-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 27, 2024 6:29pm
aa-sdk-ui-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 27, 2024 6:29pm

Allow users to set the `connection` query param when using Auth0, which
allows them to link directly to one particular auth method in Auth0
rather than a selection screen.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants